package com.ayf.payment.game.api.entity;

import com.ayf.payment.game.api.type.AdditionalStatus;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Getter
@Setter
@ToString
@Table(name = "g_template_customize")
public class TemplateCustomize implements Serializable {
    @Id
    @Column(name = "id")
    private String id;

    @Column(name = "template_id")
    private String templateId;

    @Column(name = "customize_command")
    private String customizeCommand;

    @Column(name = "customize_variable")
    private String customizeVariable;

    @Column(name = "customize_status")
    private AdditionalStatus customizeStatus;

    @Column(name = "customize_ratio")
    private Integer customizeRatio;

    @Column(name = "create_time")
    private Date createTime;

    @Column(name = "last_update_time")
    private Date lastUpdateTime;

    private static final long serialVersionUID = 1L;
}